<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>

<html>
	<head>
		<title>添加员工信息</title>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<link rel="stylesheet" href="${path}/css/backsys/ctx.css">
		<script language="javascript" type="text/javascript"
			src="${path}/DateUtil/WdatePicker.js"></script>
	</head>

	<body>
		<div class="ctx">
			<form action="${path}/oa/hr/emp!modifyEmployee.action" method="post"
				enctype="multipart/form-data">
				<table class="ow" width="70%">
					<tr>
						<th height="30" colspan="2" align="left">
							修改员工
						</th>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							姓&nbsp;&nbsp;&nbsp;&nbsp;名：
						</td>
						<td style="height: 25px;">
							<input type="text" size="20" name="emp.empRealname"
								value="${empInfo.empRealname}" />
						</td>
						<td style="height: 25px;" width="100" rowspan="5" align="center">
							<c:choose>
								<c:when test="${!empty empInfo.empImage}">
									<img src="${path}/upload/images/${empInfo.empImage}" width=130
										height="100%" />
								</c:when>
								<c:otherwise>
									<img src="${path}/images/other/KU6270337248nRSiC.jpg" width=130
										height="100%" />
								</c:otherwise>
							</c:choose>
							<!-- 近<br/>期<br/>照<br/>片<br/> -->
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							登录账号：
						</td>
						<td style="height: 25px;">
							<input type="text" size="20" name="emp.empAccount.account"
								value="${empInfo.empAccount.account}" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							登录密码：
						</td>
						<td style="height: 25px;">
							<input type="text" size="20" name="emp.empAccount.password"
								value="${empInfo.empAccount.password}" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							上传图片：
						</td>
						<td style="height: 25px;">
							<input type="file" size="30" name="fileform.file" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							民&nbsp;&nbsp;&nbsp;&nbsp;族：
						</td>
						<td style="height: 25px;" colspan="1">
							<select name="emp.nation">
								<option value="汉族" selected="selected">
									汉族
								</option>
							</select>
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							性&nbsp;&nbsp;&nbsp;&nbsp;别：
						</td>
						<td style="height: 25px;" colspan="2">
							<select name="emp.gender">
								<option value="MAN" selected="selected">
									男
								</option>
								<option value="WOMAN">
									女
								</option>
							</select>
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							籍&nbsp;&nbsp;&nbsp;&nbsp;贯：
						</td>
						<td style="height: 25px;" colspan="2">
							<select name="emp.natives">
								<option selected="selected">
									请选择
								</option>
								<option value="广东">
									广东
								</option>
							</select>
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							出生日期：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.birthday}"
								name="emp.birthday" class="Wdate" readonly="readonly"
								onClick="WdatePicker()" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							联系电话：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.tel}"
								name="emp.tel" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							移动电话：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.mobileTel}"
								name="emp.mobileTel" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							电子邮件：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.email}"
								name="emp.email" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							在职状态：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="hidden" value="${empInfo.visible}"
								name="emp.visible" />
							${empInfo.visible == true?"在职":"<b>已离职</b>"}
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							应聘部门：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.acceptDept}"
								name="emp.acceptDept" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							应聘职位：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.acceptJob}"
								name="emp.acceptJob" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							工作年限：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.ageJob}"
								name="emp.ageJob" />
						</td>
					</tr>

					<tr>
						<td style="height: 25px;" width="100" align="center">
							入职日期：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.appointmentDate}"
								name="emp.appointmentDate" class="Wdate" readonly="readonly"
								onClick="WdatePicker()" />
						</td>
					</tr>

					<tr>
						<td style="height: 25px;" width="100" align="center">
							文化程度：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.educational}"
								name="emp.educational" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							专&nbsp;&nbsp;&nbsp;&nbsp;业：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="20" value="${empInfo.speciality}"
								name="emp.speciality" />
						</td>
					</tr>

					<tr>
						<td style="height: 25px;" width="100" align="center">
							毕业学校：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="52" value="${empInfo.school}"
								name="emp.school" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							户口所在地：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="52" value="${empInfo.residence}"
								name="emp.residence" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							现居住地址：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="52" value="${empInfo.residentialAddr}"
								name="emp.residentialAddr" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							紧急联系人：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="52" value="${empInfo.emergency}"
								name="emp.emergency" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" width="100" align="center">
							紧急联系电话：
						</td>
						<td style="height: 25px;" colspan="2">
							<input type="text" size="52" value="${empInfo.emergencyTel}"
								name="emp.emergencyTel" />
						</td>
					</tr>
					<tr>
						<td style="height: 25px;" colspan="3" align="center">
							<input type="hidden" name="pageView.currentPage"
								value="${param.currentPage}" />
							<input type="hidden" name="emp.empNo" value="${empInfo.empNo}" />
							<input type="submit" class="btobg" value="添加员工" />
						</td>
					</tr>
				</table>
			</form>
		</div>
	</body>
</html>
